package com.zhuang.work0430.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhuang
 * @since 2021-04-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *  登录名
     */
    private String name;

    /**
     *  密码
     */
    private String password;

    /**
     *  真实姓名
     */
    private String idcardName;

    /**
     *  身份证号
     */
    private String idcard;

    /**
     *  手机号
     */
    private String phone;

    /**
     *  性别
     */
    private Integer sex;

    /**
     *  用户类型
     */
    private Integer userTypeId;

    /**
     *  头像
     */
    private String headPath;

    /**
     * 新增时间
     */
    private LocalDateTime insertDate;

    private Integer deleted;

    private LocalDateTime updateDate;


}
